package com.itheima.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ItemCategory {
    private Integer id;
    private String name;
    private Integer sort;
    private Integer parentId;
    private String saasId;
    private LocalDateTime createTime;
    private String createBy;
    private LocalDateTime updateTime;
    private String updateBy;
    private Integer isDel;
    
    // 子分类
    private List<ItemCategory> children;
}